package com.woniuxy.dao;

import com.woniuxy.entity.Nurse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NurseDao {
    //添加护士
 void insertNurse(Nurse  nurse);
 //删除护士
    void deleteNurseById(int nurseId);
   //修改护士信息
   void  updateNurse(Nurse  nurse);

//分页展示护士信息
    List<Nurse>selectAllNurse(@Param("nurse")Nurse nurse,
                              @Param("pageIndex")int pageIndex,
                              @Param("pageSize")int pageSize);

    //统计条数

    int selectAllNurseCount(@Param("nurse")Nurse nurse);



}
